<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Usage Documentation : Dependency Diagram</title>
<style type="text/css">
<!--
body {
	font: 80%/1.4 Verdana, Arial, Helvetica, sans-serif;
	background: #42413C;
	margin: 0;
	padding: 0;
	color: #000;
}

/* ~~ Element/tag selectors ~~ */
ul, ol, dl { /* Due to variations between browsers, it's best practices to zero padding and margin on lists. For consistency, you can either specify the amounts you want here, or on the list items (LI, DT, DD) they contain. Remember that what you do here will cascade to the .nav list unless you write a more specific selector. */
	padding: 0;
	margin: 0;
}
h1, h2, h3, h4, h5, h6, p {
	margin-top: 0;	 /* removing the top margin gets around an issue where margins can escape from their containing div. The remaining bottom margin will hold it away from any elements that follow. */
	padding-right: 15px;
	padding-left: 15px; /* adding the padding to the sides of the elements within the divs, instead of the divs themselves, gets rid of any box model math. A nested div with side padding can also be used as an alternate method. */
}
a img { /* this selector removes the default blue border displayed in some browsers around an image when it is surrounded by a link */
	border: none;
}

/* ~~ Styling for your site's links must remain in this order - including the group of selectors that create the hover effect. ~~ */
a:link {
	color: #42413C;
	text-decoration: underline; /* unless you style your links to look extremely unique, it's best to provide underlines for quick visual identification */
}
a:visited {
	color: #6E6C64;
	text-decoration: underline;
}
a:hover, a:active, a:focus { /* this group of selectors will give a keyboard navigator the same hover experience as the person using a mouse. */
	text-decoration: none;
}

/* ~~this fixed width container surrounds the other divs~~ */
.container {
	width: 1000px;
	background: #FFF;
	margin: 0 auto; /* the auto value on the sides, coupled with the width, centers the layout */
}

/* ~~ the header is not given a width. It will extend the full width of your layout. It contains an image placeholder that should be replaced with your own linked logo ~~ */
.header {
	background: #ADB96E;
	position: relative;
}

/* ~~ These are the columns for the layout. ~~ 

1) Padding is only placed on the top and/or bottom of the divs. The elements within these divs have padding on their sides. This saves you from any "box model math". Keep in mind, if you add any side padding or border to the div itself, it will be added to the width you define to create the *total* width. You may also choose to remove the padding on the element in the div and place a second div within it with no width and the padding necessary for your design. You may also choose to remove the padding on the element in the div and place a second div within it with no width and the padding necessary for your design.

2) No margin has been given to the columns since they are all floated. If you must add margin, avoid placing it on the side you're floating toward (for example: a right margin on a div set to float right). Many times, padding can be used instead. For divs where this rule must be broken, you should add a "display:inline" declaration to the div's rule to tame a bug where some versions of Internet Explorer double the margin.

3) Since classes can be used multiple times in a document (and an element can also have multiple classes applied), the columns have been assigned class names instead of IDs. For example, two sidebar divs could be stacked if necessary. These can very easily be changed to IDs if that's your preference, as long as you'll only be using them once per document.

4) If you prefer your nav on the right instead of the left, simply float these columns the opposite direction (all right instead of all left) and they'll render in reverse order. There's no need to move the divs around in the HTML source.

*/
.sidebar1 {
	float: left;
	width: 180px;
	background: #EADCAE;
	padding-bottom: 10px;
}
.content {

	padding: 10px 0;
	width: 780px;
	float: left;
}

/* ~~ This grouped selector gives the lists in the .content area space ~~ */
.content ul, .content ol { 
	padding: 0 15px 15px 40px; /* this padding mirrors the right padding in the headings and paragraph rule above. Padding was placed on the bottom for space between other elements on the lists and on the left to create the indention. These may be adjusted as you wish. */
}

/* ~~ The navigation list styles (can be removed if you choose to use a premade flyout menu like Spry) ~~ */
ul.nav {
	list-style: none; /* this removes the list marker */
	border-top: 1px solid #666; /* this creates the top border for the links - all others are placed using a bottom border on the LI */
	margin-bottom: 15px; /* this creates the space between the navigation on the content below */
}
ul.nav li {
	border-bottom: 1px solid #666; /* this creates the button separation */
}
ul.nav a, ul.nav a:visited { /* grouping these selectors makes sure that your links retain their button look even after being visited */
	padding: 5px 5px 5px 15px;
	display: block; /* this gives the link block properties causing it to fill the whole LI containing it. This causes the entire area to react to a mouse click. */
	width: 160px;  /*this width makes the entire button clickable for IE6. If you don't need to support IE6, it can be removed. Calculate the proper width by subtracting the padding on this link from the width of your sidebar container. */
	text-decoration: none;
	background: #C6D580;
}
ul.nav a:hover, ul.nav a:active, ul.nav a:focus { /* this changes the background and text color for both mouse and keyboard navigators */
	background: #ADB96E;
	color: #FFF;
}

/* ~~ The footer ~~ */
.footer {
	padding: 10px 0;
	background: #CCC49F;
	position: relative;/* this gives IE6 hasLayout to properly clear */
	clear: both; /* this clear property forces the .container to understand where the columns end and contain them */
}

/* ~~ miscellaneous float/clear classes ~~ */
.fltrt {  /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
	float: right;
	margin-left: 8px;
}
.fltlft { /* this class can be used to float an element left in your page. The floated element must precede the element it should be next to on the page. */
	float: left;
	margin-right: 8px;
}
.clearfloat { /* this class can be placed on a <br /> or empty div as the final element following the last floated div (within the #container) if the #footer is removed or taken out of the #container */
	clear:both;
	height:0;
	font-size: 1px;
	line-height: 0px;
}
.header p {
	float: right;
}
.container .header .globalNav {
	position: absolute;
	left: 0px;
	top: 28px;
	width: 950px;
	text-align: right;
	margin-right: 5px;
}
.container .header .author-title {
	position: absolute;
	left: 377px;
	top: 36px;
}
.notes{
background-color:#FAFAFA;
border:1px solid #BBBBBB;
font-size:9pt;
line-height:125%;
margin:1em;
overflow:auto;
padding:0.99em;
word-wrap:break-word;
}
.code{
color:#000088;
font-size: 8pt;	
}
table {
border:1px solid #BBBBBB;
border-collapse:collapse;
border-spacing:0;
clear:right;
margin:1em 0 0 1px;
}
th {
background-color:#d6e19e;
border:1px solid #BBBBBB;
font-weight:bold;
padding:6px 12px;
text-align:left;
}
td {
background-color:#FFFFFF;
border:1px solid #BBBBBB;
padding:6px 12px;
text-align:left;
vertical-align:top;
}
.footer {
	font-size: 8pt;
	text-align: center;
}
-->
</style>
 <script type="text/javascript" src="http://www.google.com/jsapi"></script>
	<script src="http://dependencydiagram.googlecode.com/svn/trunk/html/assets/DependencyDiagram.js" type="text/javascript"></script> 
    <script type="text/javascript">
      google.load("swfobject", "2.2");
      google.load('visualization', '1');
      google.setOnLoadCallback(drawVisualization);
      function drawVisualization() {
        var data = new google.visualization.DataTable();
				data.addColumn('string', 'Stars');
				data.addColumn('string', 'Co-stars');
				data.addColumn('string', 'Movie');
				data.addColumn('number', 'Imdb Rating');
				data.addColumn('date', 'Release Date');				
				data.addColumn('string', 'Director');
				data.addRows([
				  ['Tim Robbins', 'Morgan Freeman', 'The Shawshank Redemption', 9, new Date(1994, 8, 23 ),'Frank Darabont'],
				  ['Marlon Brando', 'Al Pacino', 'The Godfather', 9, new Date(1972, 3, 15),'Francis Ford Coppola'],
				  ['Leonardo DiCaprio', 'Ellen Page', 'Inception', 9, new Date(1982, 11, 7),'Christopher Nolan'],
				  ['Al Pacino', 'Robert De Niro', 'The Godfather: Part II', 9, new Date(1982, 11, 7),'Francis Ford Coppola'],
				  ['Clint Eastwood', 'Lee Van Cleef', 'The Good, the Bad and the Ugly', 8.9, new Date(1991, 11, 7),'Sergio Leone'],
				  ['John Travolta', 'Samuel L. Jackson', 'Pulp Fiction', 8.9, new Date(1982, 11, 7),'Quentin Tarantino'],
				  ['Liam Neeson', 'Ben Kingsley', 'Schindler\'s List', 8.9, new Date(1972, 11, 7),'Steven Spielberg'],
				  ['Jack Nicholson', 'Louise Fletcher', 'One Flew Over the Cuckoo\'s Nest ', 8.8, new Date(1982, 11, 7),'Miloš Forman'],
				  ['Robert De Niro', 'Ray Liotta', 'Goodfellas', 8.8, new Date(1982, 11, 7),'Martin Scorsese'],
				  ['Kevin Spacey', 'Gabriel Byrne', 'The Usual Suspects', 8.7, new Date(1982, 11, 7),'Bryan Singer'],
				  ['Keanu Reeves', 'Laurence Fishburne', 'The Matrix', 8.7, new Date(1982, 11, 7),'Andy Wachowski'],
				  ['Guy Pearce', 'Carrie-Anne Moss', 'Memento', 8.7, new Date(1965, 11, 7),'Christopher Nolan'],
				  ['Adrien Brody', 'Thomas Kretschmann', 'The Pianist', 8.5, new Date(1985, 11, 7),'Roman Polanski'],
				  ['Leonardo DiCaprio', 'Matt Damon', 'The Departed', 8.5, new Date(2010, 1, 1),'Martin Scorsese'],
				  ['Ellen Burstyn', 'Jared Leto', 'Requiem for a Dream', 8.5, new Date(2010, 1, 1),'Darren Aronofsky']
				]);
        var vis = new visual.dependencyDiagram(document.getElementById("visual"));
        vis.draw(data);
      }
    </script>

</head>

<body>

<div class="container">
  <div class="header"><a href="http://code.google.com/p/dependencydiagram/"><img src="http://dependencydiagram.googlecode.com/svn/trunk/html/assets/logoWithHeading.png" alt="Dependency Diagram" name="dd" width="388" height="60" id="logo" style="background: #C6D580; display:block;" /></a> <span class="author-title"> By <a href="http://www.asikpradhan.com">Asik Pradhan</a></span> <span class="globalNav"><a href="http://code.google.com/p/dependencydiagram/" title="link to dependency diagram home page">HOME</a> | <u>DOCS</u> | <a href="http://code.google.com/p/dependencydiagram/source/browse/#svn/trunk/html" title="dependency diagram source code hosted">SOURCE</a> | <a href="http://code.google.com/p/dependencydiagram/issues/list" title="dependency diagram issue tracker">ISSUES</a></span> 
  <!-- end .header --></div>
 
  <div class="sidebar1">
    <ul class="nav">
      <li><a href="#Overview">Overview</a></li>
      <li><a href="#Example">Example</a></li>
      <li><a href="#Loading">Loading and Instantiating</a></li>
      <li><a href="#Data_Format">Data Format</a></li>
      <li><a href="#Configuration_Options">Configuration Options</a></li>
      <li><a href="#Methods">Methods</a></li>
      <li><a href="#Events">Events</a></li>
      <li><a href="#Data_Policy">Data Policy</a></li>
      <li><a href="#localization">Localization</a></li>
      <li><a href="#notes">Notes</a></li>      
    </ul>
    <p>&nbsp; </p>
  <!-- end .sidebar1 --></div>
  <div class="content">
    <H2><A name="Overview" id="Overview"></A>Overview</H2>
    <p>Dependency Diagram is a dynamic and interactive flash based diagram showing interrelationships between entities over time.  </p>
    <p>- By <a href="http://www.asikpradhan.com" title="Link to asik pradhan's home page">Asik Pradhan</a></p>
    <p class="notes"><strong>Note for Developers</strong>: Because of Flash security        settings, this (and all Flash-based visualizations) might not work correctly        when accessed from a file location in the browser (e.g., file:///c:/webhost/myhost/myviz.html)        rather than from a web server URL (e.g., http://www.myhost.com/myviz.html).        This is typically a testing issue only. You can overcome this issue as described        on the <a href="http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager02.html">Macromedia        web site</a></p>
    <h2><a name="Example" id="Example"></a>Example</h2>
    <div id="visual" style="width:800px; height:600px; position:relative;"><img src="http://dependencydiagram.googlecode.com/svn/trunk/html/assets/preloader.gif" style="position:absolute;left:300px;top:182px;"/></div>
    <p>(Note that the following code will not work when loaded as a local file; it        must be loaded from a web server.)</p>
   <div class="notes code">&lt;html&gt;<br />
		  &nbsp;&nbsp; &nbsp;&nbsp; &lt;head&gt;<br />
&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &lt;script type=&quot;text/javascript&quot; src=&quot;http://www.google.com/jsapi&quot;&gt;&lt;/script&gt;<br />
&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &lt;script src=&quot;http://dependencydiagram.googlecode.com/svn/trunk/html/assets/DependencyDiagram.js&quot; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; type=&quot;text/javascript&quot;&gt;&lt;/script&gt; <br />
&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &lt;script type=&quot;text/javascript&quot;&gt;<br />
&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; google.load(&quot;swfobject&quot;, &quot;2.2&quot;);<br />
&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; google.load('visualization', '1');<br />
&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; google.setOnLoadCallback(drawVisualization);<br />
&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; function drawVisualization() {<br />
&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; var data = new google.visualization.DataTable();<br />
&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; data.addColumn('string', 'Stars');<br />
&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; data.addColumn('string', 'Co-stars');<br />
&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; data.addColumn('string', 'Movie');<br />
&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; data.addColumn('number', 'Imdb Rating');<br />
&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; data.addColumn('date', 'Release Date'); <br />
&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; data.addColumn('string', 'Director');<br />
&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; data.addRows([<br />
&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; ['Tim Robbins', 'Morgan Freeman', 'The Shawshank Redemption', 9, new Date(1994, 8, 23 ),'Frank Darabont'],<br />
&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; ['Marlon Brando', 'Al Pacino', 'The Godfather', 9, new Date(1972, 3, 15),'Francis Ford Coppola'],<br />
&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; ['Leonardo DiCaprio', 'Ellen Page', 'Inception', 9, new Date(1982, 11, 7),'Christopher Nolan'],<br />
&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; ['Al Pacino', 'Robert De Niro', 'The Godfather: Part II', 9, new Date(1982, 11, 7),'Francis Ford Coppola'],<br />
&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; ['Clint Eastwood', 'Lee Van Cleef', 'The Good, the Bad and the Ugly', 8.9, new Date(1991, 11, 7),'Sergio Leone'],<br />
&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; ['John Travolta', 'Samuel L. Jackson', 'Pulp Fiction', 8.9, new Date(1982, 11, 7),'Quentin Tarantino'],<br />
&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; ['Liam Neeson', 'Ben Kingsley', 'Schindler\'s List', 8.9, new Date(1972, 11, 7),'Steven Spielberg'],<br />
&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; ['Jack Nicholson', 'Louise Fletcher', 'One Flew Over the Cuckoo\'s Nest ', 8.8, new Date(1982, 11, 7),'Miloš Forman'],<br />
&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; ['Robert De Niro', 'Ray Liotta', 'Goodfellas', 8.8, new Date(1982, 11, 7),'Martin Scorsese'],<br />
&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; ['Kevin Spacey', 'Gabriel Byrne', 'The Usual Suspects', 8.7, new Date(1982, 11, 7),'Bryan Singer'],<br />
&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; ['Keanu Reeves', 'Laurence Fishburne', 'The Matrix', 8.7, new Date(1982, 11, 7),'Andy Wachowski'],<br />
&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; ['Guy Pearce', 'Carrie-Anne Moss', 'Memento', 8.7, new Date(1965, 11, 7),'Christopher Nolan'],<br />
&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; ['Adrien Brody', 'Thomas Kretschmann', 'The Pianist', 8.5, new Date(1985, 11, 7),'Roman Polanski'],<br />
&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; ['Leonardo DiCaprio', 'Matt Damon', 'The Departed', 8.5, new Date(2010, 1, 1),'Martin Scorsese'],<br />
&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; ['Ellen Burstyn', 'Jared Leto', 'Requiem for a Dream', 8.5, new Date(2010, 1, 1),'Darren Aronofsky']<br />
&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; ]);<br />
&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;var vis = new visual.dependencyDiagram(document.getElementById(&quot;visual&quot;));<br />
&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;vis.draw(data);<br />
&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;}<br />
&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&lt;/script&gt;<br />
&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&lt;/head&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;body&gt;<br />
&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&lt;div id=&quot;visual&quot; style=&quot;width:800px; height:600px; position:relative;&quot;&gt;<br />
&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&lt;img src=&quot;http://dependencydiagram.googlecode.com/svn/trunk/html/assets/preloader.gif&quot; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;style=&quot;position:absolute;left:113px;top:182px;&quot;/&gt;<br />
&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&lt;/div&gt;<br />
&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&lt;/body&gt;<br />
&lt;/html&gt; </div>
<h2>&nbsp;</h2>
<h2><a name="Loading" id="Loading"></a>Loading and Instantiating</h2>
<p>Load the visualization javascript</p>
<p class="notes code">&lt;script   src=&quot;http://dependencydiagram.googlecode.com/svn/trunk/html/assets/DependencyDiagram.js&quot;                           type=&quot;text/javascript&quot;&gt;&lt;/script&gt; </p>
<p>The visualization's class name is visual.dependencyDiagram</p>
<p class="notes code">  var vis = new visual.dependencyDiagram(container);</p>
<h2>&nbsp;</h2>
<h2><a name="Data_Format" id="Data_Format"></a>Data Format</h2>
<p>Each row represents a relationship. While creating the data one has to remember that the value for each column in the row should correspond to that relationship. First two columns should represent the two entities and rest of the columns should represent their relationship.</p>

    <ul>
      <li><strong>The first column (required) </strong>must be of type 'string' and contain the entity names          (e.g., &quot;Al Pacino&quot;, &quot;Leonardo DiCaprio&quot; in the          example above). </li>
      <li><strong>The second column </strong><strong>(required)</strong> must be of type 'string' and contain the entity names also         (e.g., &quot;Morgan Freeman&quot;, &quot;Marlon Brando&quot; in the          example above). </li>
      <li><strong>The date column</strong> <strong>(optional)</strong> must contain date values. There can be only one instance of a date in each row. This column could be any subsequent column after second column. Date can be expressed in the following format:
        <ul>
          <li><em>Month, day and year</em> - Column type: 'date'; values              should be javascript Date instances.</li>
        </ul>
      </li>
      <li><strong>Subsequent columns</strong> <strong>(optional)</strong> can be of type 'number' or 'string'. Both the number columns and string columns would show up in the drop down menu for line color. </li>
    </ul>
<h2>&nbsp;</h2>
<h2><a name="Configuration_Options" id="Configuration_Options"></a>Configuration
  Options</h2>
    <p>Currently, the visualization does not support any configuration options.</p>
    <p>&nbsp;</p>
<h2><a name="Methods" id="Methods"></a>Methods</h2>
    <table width="700" border="1">
      <tr>
        <th scope="col">Method</th>
        <th scope="col">Return Type</th>
        <th scope="col">Description</th>
      </tr>
      <tr>
        <td>draw(data)</td>
        <td>none</td>
        <td>Draws the visualization with the data provided.</td>
      </tr>
    </table>
    <p>&nbsp;</p>
    <h2><a name="Events" id="Events"></a>Events</h2>
    <p>Currently, the visualization does not expose any events.</p>
    <h2><a name="Data_Policy" id="Data_Policy"></a>Data Policy</h2>
    <p>All code and data are processed and rendered in the browser. No data is sent to any server.</p>
    <h2><a name="localization" id="localization"></a>Localization</h2>
    <p> This visualization does not support localization. </p>
    <h2><a name="notes" id="notes"></a>Notes</h2>
<p>Gadget Version of this visualization is also present. Follow the<a href="http://code.google.com/p/dependencydiagram/issues/list" title="Issue tracker for dependency diagram"> issue tracker</a> to report any bugs.</p>
    <p>&nbsp;</p>
    <p>&nbsp;</p>
    <p>&nbsp;</p>
    <p>&nbsp;</p>
    <p>&nbsp;</p>
    <!-- end .content --></div>
  <div class="footer">
    <p>Dependency Diagram by <a href="http:www.asikpradhan.com" title="Link to asik's personal web page">Asik Pradhan</a></p>
    <!-- end .footer --></div>
  <!-- end .container --></div>
</body>
</html>
